package com.gable.exhibition.dao;

import com.gable.exhibition.model.Area;

import java.util.List;
import java.util.Map;

public interface AreaDao {
    int deleteByPrimaryKey(Long areaId);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(Long areaId);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);

    /**
     * 查询区域列表
     * @param map  provinceId,cityId
     * @Create user jacky
     * @Create date 2018/2/6
     * @return
     */
    List<Area> queryArea(Map map);
}